package com.haolijun.eecms.dao;

import com.haolijun.eecms.entity.TbRepairs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @ClassName TbRepairsDao
 * @Description TODO
 * @Author hljstart
 * @Date 2023/3/12 16:06
 * @Version 1.0
 */
@Mapper
public interface TbRepairsDao {

    public List<HashMap> searchRepairsByPage(HashMap param);

    public long searchRepairsCount(HashMap param);

    public HashMap searchRepairsInfo(@Param("id") Integer id);

    public int insert(TbRepairs repairs);

    public int updateFacilityStatus(Map param);
}
